﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace CapitalizeTitle
{
    public partial class frmOptions : Form
    {
        Settings m_settings;
        public frmOptions(Settings settings)
        {
            InitializeComponent();
            m_settings = settings;
            chbxAutomate.Checked = m_settings.Automatic;
        }

        private void btnSave_Click(object sender, EventArgs e)
        {
            m_settings.Automatic = chbxAutomate.Checked;
            this.Close();
        }
    }
}
